package com.frank.config.es.config.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.List;

/**
 * @author Frank Zou
 * @version v0.0.1
 * @date 2024/6/25
 * @description Elasticsearch 属性配置类
 */
@Data
@Component
@ConfigurationProperties(prefix = "elasticsearch.client")
public class EsConfigProperties implements Serializable {

    private List<EsClusterConfig> clusters;


}
